package com.vben.common.exception.auth;

import com.vben.common.exception.base.BaseException;
import com.vben.common.exception.enums.ErrorCode;

/**
 * 账户锁定异常
 *
 * @author sunn
 */
public class AccountLockedException extends BaseException {
    public AccountLockedException(int lockMinutes) {
        super(ErrorCode.ACCOUNT_LOCKED, String.format("账户已锁定，请%d分钟后重试", lockMinutes));
    }
}